package com.web.base.user.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.blue.jdbc.JdbcDataSource;
import com.blue.jdbc.Page;
import com.web.base.user.dao.UserLoginLogDao;
import com.web.base.user.model.UserLoginLog;
import com.web.core.util.Const;

/**
 * 登录日志业务层
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月16日
 */
@Service
@Transactional
@JdbcDataSource(Const.DS_BASE)
public class UserLoginLogService
{
	@Resource
	private UserLoginLogDao userLoginLogDao;
	
	public UserLoginLogService()
	{
	}
	
	public Page<UserLoginLog> list(UserLoginLog userLoginLog, Page<UserLoginLog> page)
	{
		page = userLoginLogDao.list(userLoginLog, page);
		return page;
	}
	
}
